package com.minsf.example.common.service;

import com.minsf.example.common.model.User;

import java.util.List;

/**
 * @Description
 * @Author minify
 * @Date 2024/3/16 0:18
 * @Project sf-rpc
 */
public interface UserService {

    /**
     * 获取用户
     * @param user
     * @return
     */
    User getUser(User user);

    default short getNumber() {
        return 1;
    }

    List getList();
}
